import { uploadType, regularRule } from '@/utils/util'

export const BaseFormConfig = {
	prop: 'base0',
	inline: false,
	showBtn: false,
	labelPosition: 'left',
	column: [
		{
			label: '上传照片',
			prop: 'organizationLogo',
			type: 'upload',
			labelPosition: 'top',
			showFileList: false,
			limit: 1,
			multiple: false,
			custome: 'img',
			rules: [{ required: true, message: '请上传照片' }],
			span: 12,
		},
		{
			label: '门头照片',
			prop: 'doorHeadImgs',
			type: 'upload',
			labelPosition: 'top',
			showFileList: false,
			limit: 1,
			multiple: false,
			custome: 'img',
			rules: [{ required: true, message: '请上传门头照片' }],
			span: 12,
		},
		{
			label: '机构名称',
			prop: 'organizationName',
			changeField: true,
			maxlength: '50',
			showWordLimit: true,
			type: 'text',
			rules: [{ required: true, message: '请输入机构名称' }],
			span: 8,
		},
		{
			label: '单位建立日期',
			prop: 'foundDate',
			changeField: true,
			type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			rules: [{ required: true, message: '请选择单位建立日期' }],
			span: 8,
		},
		{
			label: '备案日期',
			prop: 'filingDate',
			changeField: true,
			type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			rules: [{ required: true, message: '请选择备案日期' }],
			span: 8,
		},
		{
			label: '是否备案',
			prop: 'filingFlag',
			propName: 'filingFlagLabel',
			changeField: true,
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择是否备案' }],
			span: 8,
		},
		{
			label: '机构类型',
			prop: 'organizationType',
			propName: 'organizationTypeLabel',
			changeField: true,
			type: 'remoteSelect',
			code: 'ORG_TYPE',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			span: 8,
			rules: [{ required: true, message: '请选择机构类型' }],
		},
		{
			label: '运营状态',
			prop: 'operateStatus',
			propName: 'operateStatusLabel',
			changeField: true,
			type: 'remoteSelect',
			code: 'ORG_OPERATE_STATUS',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			viewDisplay: false,
			rules: [{ required: true, message: '请选择运营状态' }],
			span: 8,
		},
		{
			label: '建筑面积',
			prop: 'organizationFloorSpace',
			type: 'input',
			append: '平方米',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的面积数' }],
			span: 8,
		},
		{
			label: '占地面积',
			prop: 'organizationCoverArea',
			type: 'input',
			append: '平方米',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的面积数' }],
			span: 8,
		},
		{
			label: '统一社会信用代码',
			prop: 'creditCode',
			maxlength: '18',
			changeField: true,
			showWordLimit: true,
			type: 'text',
			labelPosition: 'top',
			rules: [
				{ pattern: regularRule.code, message: '请输入正确的统一社会信用代码' },
				{ required: true, message: '请输入统一社会信用代码' },
			],
			span: 12,
		},
		{
			label: '所属地区',
			prop: 'areas',
			propName: 'areas_name',
			type: 'AplidAreaSelect',
			labelPosition: 'top',
			changeField: true,
			rules: [{ required: true, message: '请选择所属地区' }],
			span: 12,
		},
		{
			label: '所在地区',
			prop: 'nowAreas',
			propName: 'nowAreasNames',
			type: 'AplidAreaSelect',
			labelPosition: 'top',
			changeField: true,
			rules: [{ required: true, message: '请选择所在地区' }],
			span: 12,
		},
		{
			label: '机构详细地址',
			prop: 'organizationAddress',
			changeField: true,
			maxlength: '140',
			showWordLimit: true,
			type: 'textarea',
			labelPosition: 'top',
			autosize: {
				minRows: 1,
			},
			rules: [{ required: true, message: '请输入机构详细地址' }],
			span: 8,
		},
		{
			type: 'DividerHtml',
			modelValue: '机构负责人信息',
			viewDisplay: false,
			labelPosition: 'top',
			position: 'center',
			span: 24,
		},
		{
			label: '负责人姓名',
			prop: 'burdenUserName',
			changeField: true,
			maxlength: '20',
			showWordLimit: true,
			type: 'text',
			rules: [{ required: true, message: '请输入负责人姓名' }],
			span: 8,
		},
		{
			label: '负责人身份证号',
			prop: 'burdenIdCard',
			changeField: true,
			type: 'input',
			rules: [
				{ pattern: regularRule.idCard, message: '请输入正确的负责人身份证号' },
				{ required: true, message: '请输入负责人身份证号' },
			],
			span: 8,
		},
		{
			label: '负责人联系方式',
			prop: 'burdenUserPhone',
			changeField: true,
			maxlength: '11',
			showWordLimit: true,
			rules: [
				{ pattern: regularRule.phone, message: '请输入正确的负责人联系方式' },
				{ required: true, message: '请输入负责人联系方式' },
			],
			type: 'tel',
			span: 8,
		},
		{
			type: 'DividerHtml',
			modelValue: '法人信息',
			viewDisplay: false,
			labelPosition: 'top',
			position: 'center',
			span: 24,
		},
		{
			label: '法定代表人',
			prop: 'legalUserName',
			maxlength: '20',
			showWordLimit: true,
			type: 'text',
			changeField: true,
			rules: [{ required: true, message: '请输入法人姓名' }],
			span: 8,
		},
		{
			label: '证件类型',
			prop: 'legalIdentifyType',
			propName: 'legalIdentifyTypeLabel',
			type: 'remoteSelect',
			code: 'ID_CARD_TYPE',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			changeField: true,
			dataType: 'string',
			rules: [{ required: true, message: '请选择法人证件类型' }],
			span: 8,
		},
		{
			label: '证件号码',
			prop: 'legalIdentifyCode',
			type: 'input',
			changeField: true,
			rules: [
				{ pattern: regularRule.idCard, message: '请输入正确的法人证件号码' },
				{ required: true, message: '请输入法人证件号码' },
			],
			span: 8,
		},
		{
			label: '联系电话',
			prop: 'legalUserPhone',
			maxlength: '11',
			showWordLimit: true,
			type: 'text',
			changeField: true,
			rules: [
				{ pattern: regularRule.phone, message: '请输入正确的法人联系电话' },
				{ required: true, message: '请输入法人联系电话' },
			],
			span: 8,
		},
		{
			label: '法人性质',
			prop: 'legalProperty',
			propName: 'legalPropertyLabel',
			type: 'remoteSelect',
			code: 'LEGAL_PROPERTY',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			changeField: true,
			rules: [{ required: true, message: '请选择法人性质' }],
			span: 8,
		},
		{
			label: '登记机关',
			prop: 'registerGovernment',
			maxlength: '140',
			showWordLimit: true,
			autosize: {
				minRows: 1,
			},
			type: 'textarea',
			changeField: true,
			rules: [{ required: true, message: '请输入登记机关' }],
			span: 8,
		},
		{
			label: '机构等级评定星级',
			prop: 'organizationLevel',
			propName: 'organizationLevelLabel',
			changeField: true,
			type: 'remoteSelect',
			code: 'ORG_LEVEL',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择机构等级评定星级' }],
			span: 12,
		},
		{
			label: '评定日期',
			prop: 'organizationEvaluateDate',
			type: 'date',
			changeField: true,
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			rules: [{ required: true, message: '请选择评定日期' }],
			span: 12,
		},
		{
			label: '评价分',
			prop: 'organizationEvaluateScore',
			type: 'input',
			span: 12,
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的评价分' }],
		},
		{
			label: '服务范围',
			prop: 'organizationServiceScope',
			maxlength: '500',
			showWordLimit: true,
			type: 'textarea',
			labelPosition: 'top',
			autosize: {
				minRows: 2,
			},
			rules: [{ required: true, message: '请输入服务范围' }],
			span: 24,
		},
		{
			label: '介绍',
			prop: 'organizationIntroduce',
			maxlength: '1000',
			showWordLimit: true,
			type: 'textarea',
			labelPosition: 'top',
			autosize: {
				minRows: 2,
			},
			rules: [{ required: true, message: '请输入介绍' }],
			span: 24,
		},
		{
			label: '备注',
			prop: 'organizationNote',
			maxlength: '1000',
			showWordLimit: true,
			type: 'textarea',
			labelPosition: 'top',
			autosize: {
				minRows: 2,
			},
			span: 24,
		},
	],
}

export const ExtendFormConfig = {
	prop: 'base1',
	inline: false,
	showBtn: false,
	labelPosition: 'left',
	column: [
		{
			type: 'DividerHtml',
			custome: 'divider',
			labelPosition: 'top',
			position: 'center',
			modelValue: '床位及收费信息',
			span: 24,
		},
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '床位数量',
			span: 24,
		},
		{
			label: '床位总数量',
			prop: 'bedTotalNum',
			changeField: true,
			type: 'input',
			append: '张',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			labelPosition: 'top',
			span: 6,
		},
		{
			label: '备案床位数量',
			prop: 'bedFilingNum',
			type: 'input',
			append: '张',
			changeField: true,
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			labelPosition: 'top',
			span: 6,
		},
		{
			label: '空闲床位数量',
			prop: 'bedUnusedNum',
			append: '张',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			type: 'input',
			changeField: true,
			labelPosition: 'top',
			span: 6,
		},
		{
			label: '空闲护理床位数量',
			prop: 'bedNurseUnusedNum',
			append: '张',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			type: 'input',
			changeField: true,
			labelPosition: 'top',
			span: 6,
		},
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '收费标准',
			span: 24,
		},
		{
			label: '护理型床位数量',
			prop: 'bedNurseNum',
			append: '张',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			type: 'input',
			changeField: true,
			span: 8,
		},
		{
			label: '护理型床位收费标准',
			prop: 'feeStandardNurse',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 16,
		},
		{
			label: '全托床位数量',
			prop: 'bedBoardNum',
			type: 'input',
			append: '张',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			span: 8,
		},
		{
			label: '全托床位收费标准',
			prop: 'feeStandardBoard',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 16,
		},
		{
			label: '日托床位数量',
			prop: 'bedDaycareNum',
			type: 'input',
			append: '张',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			span: 8,
		},
		{
			label: '日托床位收费标准',
			prop: 'feeStandardDaycare',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 16,
		},
		{
			label: '收费标准说明',
			prop: 'feeStandardDescribe',
			maxlength: '500',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '收费方式',
			prop: 'feeMode',
			maxlength: '500',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '是否采用会员制方式收费',
			prop: 'feeVipFlag',
			propName: 'feeVipFlagLabel',
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			span: 8,
		},
		{
			label: '押金收费标准',
			prop: 'feeStandardDeposit',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '备用金收费标准',
			prop: 'feeStandardImpurest',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '完全失能护理费收费标准',
			prop: 'feeStandardDisabledWhole',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '重度失能护理费收费标准',
			prop: 'feeStandardDisabledGrave',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '中度失能护理费收费标准',
			prop: 'feeStandardDisabledModerate',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '轻度失能护理费收费标准',
			prop: 'feeStandardDisabledMild',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '能力完好护理费收费标准',
			prop: 'feeStandardAbilityIntact',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '失能护理费收费标准',
			prop: 'feeStandardDisabled',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '半失能护理费收费标准',
			prop: 'feeStandardDisabledSemi',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '自理护理费收费标准',
			prop: 'feeStandardSelfCare',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '伙食费收费标准',
			prop: 'feeStandardFood',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '其他收费项目及收费标准',
			prop: 'feeStandardOther',
			maxlength: '140',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			type: 'DividerHtml',
			custome: 'divider',
			labelPosition: 'top',
			position: 'center',
			modelValue: '服务和服务资质信息',
			span: 24,
		},
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '居家服务',
			span: 24,
		},
		{
			label: '是否提供居家上门服务',
			prop: 'doorstepFlag',
			propName: 'doorstepFlagLabel',
			changeField: true,
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			// control: (e, model) => {
			// 	return {
			// 		doorstepServiceItems: {
			// 			display: e == 1,
			// 		},
			// 	}
			// },
			rules: [{ required: true, message: '请选择是否提供居家上门服务' }],
			span: 24,
		},
		{
			label: '居家上门服务项目',
			prop: 'doorstepServiceItems',
			changeField: true,
			maxlength: '500',
			showWordLimit: true,
			type: 'textarea',
			autosize: {
				minRows: 2,
			},
			span: 24,
		},
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '社区服务',
			span: 24,
		},
		{
			label: '是否提供社区养老服务',
			prop: 'communityFlag',
			propName: 'communityFlagLabel',
			changeField: true,
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择是否提供社区养老服务' }],
			// control: (e, model) => {
			// 	return {
			// 		communityServiceItems: {
			// 			display: e == 1,
			// 		},
			// 	}
			// },
			span: 24,
		},
		{
			label: '社区养老服务项目',
			prop: 'communityServiceItems',
			changeField: true,
			type: 'textarea',
			maxlength: '500',
			showWordLimit: true,
			span: 24,
		},

		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '医养结合',
			span: 24,
		},
		{
			label: '是否开展医疗服务',
			prop: 'medicalFlag',
			propName: 'medicalFlagLabel',
			changeField: true,
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择是否开展医疗服务' }],
			// control: (e, model) => {
			// 	return {
			// 		medicalMode: {
			// 			display: e == 1,
			// 		},
			// 		medicalInstitution: {
			// 			display: e == 1,
			// 		},
			// 		medicalCooperateType: {
			// 			display: e == 1,
			// 		},
			// 		medicalPermitFlag: {
			// 			display: e == 1,
			// 		},
			// 		medicalInsureFlag: {
			// 			display: e == 1,
			// 		},
			// 		medicalInsureNetworkMode: {
			// 			display: e == 1,
			// 		},
			// 		medicalInstituteLevel: {
			// 			display: e == 1,
			// 		},
			// 		medicalInstituteProperty: {
			// 			display: e == 1,
			// 		},
			// 		medicalCombineApprovalDate: {
			// 			display: e == 1,
			// 		},
			// 	}
			// },
			span: 24,
		},
		{
			label: '开展医疗服务方式',
			prop: 'medicalMode',
			propName: 'medicalModeLabel',
			changeField: true,
			custome: 'dict',
			type: 'remoteSelect',
			code: 'MEDICAL_MODE',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			span: 8,
		},
		{
			label: '内设医疗机构类型',
			prop: 'medicalInstitution',
			propName: 'medicalInstitutionLabel',
			changeField: true,
			type: 'remoteSelect',
			code: 'MEDICAL_INSTITUTE',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			span: 8,
		},

		{
			label: '与医疗机构签约合作类型',
			prop: 'medicalCooperateType',
			propName: 'medicalCooperateTypeLabel',
			changeField: true,
			type: 'remoteSelect',
			code: 'MEDICAL_COOPERATE_TYPE',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			span: 8,
		},
		{
			label: '是否取得医疗机构执业许可证书',
			prop: 'medicalPermitFlag',
			propName: 'medicalPermitFlagLabel',
			changeField: true,
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择是否取得医疗机构执业许可证书' }],
			// control: (e, model) => {
			// 	return {
			// 		medicalPermitCode: {
			// 			display: e == 1,
			// 		},
			// 		medicalPermitImg: {
			// 			display: e == 1,
			// 		},
			// 		medicalPermitTermDate: {
			// 			display: e == 1,
			// 		},
			// 	}
			// },
			span: 24,
		},
		{
			label: '医疗机构许可证编号',
			prop: 'medicalPermitCode',
			changeField: true,
			maxlength: '50',
			showWordLimit: true,
			type: 'text',
			span: 12,
		},
		{
			label: '医疗机构执业许可证书照片',
			prop: 'medicalPermitImg',
			changeField: true,
			type: 'upload',
			labelPosition: 'top',
			showFileList: false,
			limit: 1,
			multiple: false,
			span: 24,
		},
		{
			label: '医疗机构执业许可证书过期日期',
			prop: 'medicalPermitTermDate',
			changeField: true,
			type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			span: 8,
		},

		{
			label: '是否取得医疗保险定点医疗机构资格证书',
			prop: 'medicalInsureFlag',
			propName: 'medicalInsureFlagLabel',
			changeField: true,
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择是否取得医疗保险定点医疗机构资格证书' }],
			// control: (e, model) => {
			// 	return {
			// 		medicalInsurePermitImg: {
			// 			display: e == 1,
			// 		},
			// 		medicalInsurePermitTermDate: {
			// 			display: e == 1,
			// 		},
			// 	}
			// },
			span: 24,
		},
		{
			label: '医疗保险定点医疗机构资格证书过期日期',
			prop: 'medicalInsurePermitTermDate',
			changeField: true,
			labelPosition: 'top',
			type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			span: 24,
		},
		{
			uploadTip: '医疗保险定点医疗机构资格证书照片',
			label: '医疗保险定点医疗机构资格证书照片',
			prop: 'medicalInsurePermitImg',
			type: 'upload',
			changeField: true,
			labelPosition: 'top',
			showFileList: false,
			limit: 1,
			multiple: false,
			span: 24,
		},

		{
			label: '纳入医保联网方式',
			prop: 'medicalInsureNetworkMode',
			propName: 'medicalInsureNetworkModeLabel',
			type: 'remoteSelect',
			changeField: true,
			code: 'MEDICAL_INSURE_NETWORK_MODE',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			span: 6,
		},
		{
			label: '医疗机构等级',
			prop: 'medicalInstituteLevel',
			propName: 'medicalInstituteLevelLabel',
			type: 'remoteSelect',
			code: 'MEDICAL_INSURE_LEVEL',
			api: 'getDictItemList',
			filterKey: 'value',
			changeField: true,
			multiple: false,
			span: 6,
		},
		{
			label: '医疗机构性质',
			prop: 'medicalInstituteProperty',
			propName: 'medicalInstitutePropertyLabel',
			type: 'remoteSelect',
			code: 'LEGAL_PROPERTY',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			changeField: true,
			span: 6,
		},
		{
			label: '医养结合批复时间',
			prop: 'medicalCombineApprovalDate',
			type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			changeField: true,
			span: 6,
		},
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '食品生产',
			span: 24,
		},
		{
			label: '是否取得食品生产许可证',
			prop: 'foodPermitFlag',
			propName: 'foodPermitFlagLabel',
			changeField: true,
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择是否取得食品生产许可证' }],
			// control: (e, model) => {
			// 	return {
			// 		foodPermitImg: {
			// 			display: e == 1,
			// 		},
			// 		foodPermitTermDate: {
			// 			display: e == 1,
			// 		},
			// 	}
			// },
			span: 24,
		},
		{
			label: '食品生产许可证照片',
			prop: 'foodPermitImg',
			type: 'upload',
			labelPosition: 'top',
			showFileList: false,
			limit: 1,
			multiple: false,
			changeField: true,
			span: 24,
		},

		{
			label: '食品生产许可证过期日期',
			prop: 'foodPermitTermDate',
			type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			changeField: true,
			span: 12,
		},
		//--------------------长护险 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '长护险',
			span: 24,
		},
		{
			label: '是否长护险机构',
			prop: 'longInsureInstituteFlag',
			propName: 'longInsureInstituteFlagLabel',
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择是否长护险机构' }],
			// control: (e, model) => {
			// 	return {
			// 		longInsureApprovalDate: {
			// 			display: e == 1,
			// 		},
			// 		longInsureBedNum: {
			// 			display: e == 1,
			// 		},
			// 		longInsureServiceScope: {
			// 			display: e == 1,
			// 		},
			// 		longInsureServiceContent: {
			// 			display: e == 1,
			// 		},
			// 		longInsureServiceCategory: {
			// 			display: e == 1,
			// 		},
			// 	}
			// },
			changeField: true,
			span: 8,
		},
		{
			label: '长护险批复时间',
			prop: 'longInsureApprovalDate',
			type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			changeField: true,
			span: 8,
		},
		{
			label: '床位数(个)',
			prop: 'longInsureBedNum',
			type: 'input',
			changeField: true,
			span: 8,
		},
		{
			label: '服务范围',
			prop: 'longInsureServiceScope',
			type: 'textarea',
			maxlength: '500',
			changeField: true,
			showWordLimit: true,
			autosize: {
				minRows: 1,
			},
			span: 24,
		},
		{
			label: '服务内容',
			prop: 'longInsureServiceContent',
			type: 'textarea',
			maxlength: '500',
			showWordLimit: true,
			changeField: true,
			autosize: {
				minRows: 1,
			},
			span: 24,
		},
		{
			label: '服务类型',
			prop: 'longInsureServiceCategory',
			type: 'textarea',
			maxlength: '500',
			showWordLimit: true,
			changeField: true,
			autosize: {
				minRows: 1,
			},
			span: 24,
		},
		//--------------------其他资质 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '其他资质',
			span: 24,
		},

		{
			label: '是否享受养老服务税费减免',
			prop: 'taxReliefFlag',
			propName: 'taxReliefFlagLabel',
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择是否享受养老服务税费减免' }],
			span: 8,
		},
		{
			label: '是否投保责任险代码',
			prop: 'liabilityInsureFlag',
			propName: 'liabilityInsureFlagLabel',
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择是否投保责任险代码' }],
			span: 8,
		},
		{
			label: '享受政府扶持优惠政策内容',
			prop: 'governmentPrivilegeContent',
			type: 'textarea',
			maxlength: '500',
			showWordLimit: true,
			autosize: {
				minRows: 1,
			},
			span: 24,
		},
		//--------------------服务项目 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '服务项目',
			span: 24,
		},
		{
			label: '',
			type: 'dynamic',
			prop: 'ServiceOrgItems',
			span: 24,
			column: [
				{
					label: '服务项目名称',
					prop: 'itemName',
					maxlength: '50',
					showWordLimit: true,
					type: 'text',
				},
				{
					label: '服务项目类型',
					prop: 'itemType',
					propName: 'itemTypeLabel',
					type: 'remoteSelect',
					code: 'SERVICE_ITEM_TYPE',
					api: 'getDictItemList',
					filterKey: 'value',
					multiple: false,
				},
				{
					label: '价格（元）',
					prop: 'itemPrice',
					type: 'input',
				},
				{
					label: '护理等级',
					prop: 'nurseLevel',
					propName: 'nurseLevelLabel',
					type: 'remoteSelect',
					code: 'NURSE_LEVEL',
					api: 'getDictItemList',
					filterKey: 'value',
					multiple: false,
				},
			],
		},
	],
}

export const OtherFormConfig = {
	prop: 'base2',
	inline: false,
	showBtn: false,
	labelPosition: 'left',
	column: [
		//--------------------收住信息 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '收住信息',
			span: 24,
		},
		{
			label: '其他收住老人类型说明',
			prop: 'otherRefugeOldmanNote',
			changeField: true,
			maxlength: '500',
			showWordLimit: true,
			type: 'text',
			span: 8,
		},
		{
			label: '收住老人类型',
			prop: 'refugeOldmanType',
			propName: 'refugeOldmanTypeLabel',
			type: 'remoteSelect',
			code: 'OLDMAN_TYPE',
			api: 'getDictItemList',
			changeField: true,
			filterKey: 'value',
			multiple: false,
			span: 8,
		},
		{
			label: '收住三无老人数量',
			prop: 'refugeThreeOldmanNum',
			type: 'input',
			changeField: true,
			append: '人',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			span: 8,
		},
		{
			label: '收住五保老人数量',
			prop: 'refugeFiveOldmanNum',
			type: 'input',
			append: '人',
			changeField: true,
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			span: 8,
		},
		{
			label: '收住老人总数量',
			prop: 'refugeTotalOldmanNum',
			type: 'input',
			append: '人',
			changeField: true,
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			span: 8,
		},
		//--------------------工勤人数 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '工勤人数(人)',
			span: 24,
		},
		{
			label: '管理人员数量',
			prop: 'orgManagerNum',
			append: '人',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			type: 'input',
			changeField: true,
			span: 8,
		},
		{
			label: '医生数量',
			prop: 'orgDoctorNum',
			append: '人',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			type: 'input',
			span: 8,
			changeField: true,
		},
		{
			label: '护士数量',
			prop: 'orgNurseNum',
			append: '人',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			type: 'input',
			span: 8,
			changeField: true,
		},
		{
			label: '康复师数量',
			prop: 'orgTherapistNum',
			type: 'input',
			append: '人',
			changeField: true,
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			span: 8,
		},
		{
			label: '心理咨询师数量',
			prop: 'orgPsychologyNum',
			type: 'input',
			append: '人',
			changeField: true,
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			span: 8,
		},
		{
			label: '护师人数数量',
			prop: 'orgSeniorNurseNum',
			type: 'input',
			append: '人',
			changeField: true,
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			span: 8,
		},
		{
			label: '其他医技人员数量',
			prop: 'orgOtherMedicalNum',
			type: 'input',
			append: '人',
			changeField: true,
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			span: 8,
		},
		{
			label: '护理员数量',
			prop: 'orgNursingNum',
			type: 'input',
			append: '人',
			changeField: true,
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			span: 8,
		},
		{
			label: '工勤人员数量',
			prop: 'orgHandymanNum',
			type: 'input',
			append: '人',
			changeField: true,
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
			span: 8,
		},
		//--------------------投资信息 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '投资信息(万元)',
			span: 24,
		},
		{
			label: '项目总投资额',
			prop: 'investAmountTotal',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '市政府投资额',
			prop: 'investAmountCity',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '区县政府投资额',
			prop: 'investAmountArea',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '街道乡镇投资额',
			prop: 'investAmountStreet',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '建设单位投资额',
			prop: 'investAmountBuild',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '其他投资额',
			prop: 'investAmountOther',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '社会资助额',
			prop: 'investAmountSociety',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		//--------------------建设成本信息 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '建设成本信息(万元)',
			span: 24,
		},
		{
			label: '土地购置费',
			prop: 'fundLandBuy',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '土建费',
			prop: 'fundLandBuild',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '房屋购置费',
			prop: 'fundHouseBuy',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '房屋租赁费',
			prop: 'fundHouseLease',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '装修费',
			prop: 'fundHouseTrim',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '设备购置费',
			prop: 'fundDeviceBuy',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '开办经费',
			prop: 'fundStart',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		{
			label: '其他经费',
			prop: 'fundOther',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的金额' }],
			span: 8,
		},
		//--------------------消防验收信息 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '消防验收信息',
			span: 24,
		},
		{
			label: '消防部门审验合格材料',
			prop: 'fireApprovalMaterial',
			type: 'upload',
			fileType: uploadType.fileMetaType,
			listType: 'text',
			labelPosition: 'top',
			showFileList: true,
			limit: 9,
			multiple: true,
			span: 24,
		},
		{
			label: '消防部门审验状态',
			prop: 'fireApprovalStatus',
			propName: 'fireApprovalStatusLabel',
			type: 'remoteSelect',
			code: 'FIRE_APPROVAL_STATUS',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择消防部门审验状态' }],
			span: 8,
		},
		{
			label: '消防部门审验合格日期',
			prop: 'fireApprovalDate',
			type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			span: 8,
		},

		{
			label: '消防审核验收批准单位名称',
			prop: 'fireApprovalInstitute',
			type: 'text',
			maxlength: '50',
			showWordLimit: true,
			span: 8,
		},
		//--------------------设施（建设/租赁）情况 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '设施（建设/租赁）情况',
			span: 24,
		},
		{
			label: '机构土地性质',
			prop: 'landProperty',
			propName: 'landPropertyLabel',
			type: 'remoteSelect',
			code: 'LAND_PROPERTY',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择机构土地性质' }],
			span: 8,
		},
		{
			label: '总绿化面积',
			prop: 'landAreaGreen',
			type: 'input',
			append: '平方米',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的面积数' }],
			span: 8,
		},
		{
			label: '休息室面积',
			prop: 'landAreaRest',
			type: 'input',
			append: '平方米',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的面积数' }],
			span: 8,
		},
		{
			label: '餐厅面积',
			prop: 'landAreaDining',
			type: 'input',
			append: '平方米',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的面积数' }],
			span: 8,
		},
		{
			label: '体锻（康复）室面积',
			prop: 'landAreaTherapy',
			type: 'input',
			append: '平方米',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的面积数' }],
			span: 8,
		},
		{
			label: '活动（阅览）室面积',
			prop: 'landAreaActivity',
			type: 'input',
			append: '平方米',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的面积数' }],
			span: 8,
		},
		{
			label: '主要岀入口个数',
			prop: 'mainGateNum',
			type: 'input',
			append: '个',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数' }],
			span: 8,
		},
		{
			label: '建筑层数',
			prop: 'buildFloorNum',
			type: 'input',
			append: '层',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的层数' }],
			span: 8,
		},
		{
			label: '是否安装电梯',
			prop: 'liftInstallFlag',
			propName: 'liftInstallFlagLabel',
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择是否安装电梯' }],
			span: 8,
		},
		{
			label: '房屋属性',
			prop: 'houseProperty',
			propName: 'housePropertyLabel',
			type: 'remoteSelect',
			code: 'HOUSE_PROPERTY',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择房屋属性' }],
			span: 8,
		},
		{
			label: '房屋权属证明状态',
			prop: 'houseProveStatus',
			propName: 'houseProveStatusLabel',
			type: 'remoteSelect',
			code: 'HOUSE_PROVE_STATUS',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择房屋权属证明状态' }],
			span: 8,
		},
		{
			label: '租赁期限',
			prop: 'houseLeaseDeadline',
			type: 'input',
			append: '年',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的期限数' }],
			span: 8,
		},
		{
			label: '年租金',
			prop: 'houseLeaseAmount',
			type: 'input',
			append: '万元',
			rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的租金数' }],
			span: 8,
		},
		//--------------------老年用品 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '老年用品',
			span: 24,
		},
		{
			label: '',
			type: 'dynamic',
			prop: 'ServiceOrgProduct',
			span: 24,
			column: [
				{
					label: '产品类型',
					prop: 'productType',
					propName: 'productTypeLabel',
					type: 'remoteSelect',
					code: 'OLDMAN_PRODUCT_TYPE',
					api: 'getDictItemList',
					filterKey: 'value',
					multiple: false,
				},
				{
					label: '产品名称',
					prop: 'productName',
					type: 'text',
					maxlength: '50',
					showWordLimit: true,
				},
				{
					label: '产品价格',
					prop: 'productPrice',
					type: 'input',
					append: '元',
					rules: [{ pattern: regularRule.fixedTwoNum, message: '请输入正确的价格' }],
				},
				{
					label: '产品型号',
					prop: 'productModel',
					type: 'text',
					maxlength: '50',
					showWordLimit: true,
				},
				{
					label: '产品用途',
					prop: 'productUsePurpose',
					type: 'textarea',
					maxlength: '500',
					showWordLimit: true,
				},
				{
					label: '生产厂商名称',
					prop: 'productManufacturer',
					type: 'textarea',
					maxlength: '50',
					showWordLimit: true,
				},
			],
		},
		//--------------------设施设备 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '设施设备',
			span: 24,
		},
		{
			label: '',
			type: 'dynamic',
			prop: 'ServiceOrgDevice',
			span: 24,
			column: [
				{
					label: '设施设备类型',
					prop: 'deviceType',
					propName: 'deviceTypeLabel',
					type: 'remoteSelect',
					code: 'DEVICE_TYPE',
					api: 'getDictItemList',
					filterKey: 'value',
					multiple: false,
				},
				{
					label: '设施设备数量',
					prop: 'deviceNum',
					type: 'input',
					append: '个',
					rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
				},
			],
		},
		//--------------------疫情防控数据-物资类 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '疫情防控数据-物资类',
			span: 24,
		},
		{
			label: '每日出入口工作人员数',
			prop: 'preventDoorPersonDayNum',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '每日实际消毒面积',
			prop: 'preventDisinfectDayArea',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '㎡',
		},
		{
			label: '院内区域数',
			prop: 'preventInsideAreaNum',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '在运营',
			prop: 'preventStatus',
			propName: 'preventStatusLabel',
			span: 8,
			labelPosition: 'top',
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
		},
		{
			label: '存放地点',
			prop: 'preventDeposit',
			propName: 'preventDepositLabel',
			span: 8,
			labelPosition: 'top',
			code: 'PREVENT_DEPOSIT',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
		},
		{
			label: '医用外科口罩',
			prop: 'preventMask',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '个',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: 'N95口罩',
			prop: 'preventNioshMask',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '个',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '医用一次性防护服',
			prop: 'preventProtectCloth',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '套',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '一次性使用隔离服',
			prop: 'preventIsolationCloth',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '套',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '医用无纺布帽',
			prop: 'preventNonwovensHat',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '顶',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '医用隔离面罩',
			prop: 'preventVisor',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '支',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '医用护目镜',
			prop: 'preventGoggles',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '个',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '长筒胶靴',
			prop: 'preventGumboots',
			type: 'input',
			append: '双',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '过膝靴套',
			prop: 'preventKneeBoots',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '双',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '医用隔离鞋套',
			prop: 'preventShoeCover',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '副',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '含氯消毒',
			prop: 'preventDisinfectTablets',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '片',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '免洗手消毒凝胶或消毒液',
			prop: 'preventDisinfectant',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '瓶',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '75%医用酒精',
			prop: 'preventAlcohol',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '瓶',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '医用乳胶手套',
			prop: 'preventGlove',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '副',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '正压头套或全面防护型呼吸防护器',
			prop: 'preventVentilator',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			tip: '三级防护必备',
			append: '顶',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '红外体温枪',
			prop: 'preventThermometer',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			append: '把',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		//--------------------疫情防控数据-隔离类 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '疫情防控数据-隔离类',
			span: 24,
		},
		{
			label: '是否设置独立隔离场所',
			prop: 'quarantineAlonePlace',
			propName: 'quarantineAlonePlaceLabel',
			span: 8,
			labelPosition: 'top',
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			// control: (e, model) => {
			// 	return {
			// 		quarantineStationedPersonNum: {
			// 			display: e == 1,
			// 		},
			// 		quarantineNowPersonNum: {
			// 			display: e == 1,
			// 		},
			// 		quarantineOldmanMaxNum: {
			// 			display: e == 1,
			// 		},
			// 		quarantineBedNum: {
			// 			display: e == 1,
			// 		},
			// 	}
			// },
		},
		{
			label: '最大限度可进驻工作人员数',
			prop: 'quarantineStationedPersonNum',
			type: 'input',
			append: '把',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '现配有工作人员数',
			prop: 'quarantineNowPersonNum',
			type: 'input',
			append: '把',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '最大限度可隔离老人数',
			prop: 'quarantineOldmanMaxNum',
			type: 'input',
			append: '把',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '配有床位数',
			prop: 'quarantineBedNum',
			type: 'input',
			append: '把',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '已隔离老人数量',
			prop: 'quarantineOldmanNum',
			type: 'input',
			append: '把',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '被隔离工作人员数量',
			prop: 'quarantinePersonNum',
			type: 'input',
			append: '把',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '是否配备隔离转运车辆',
			prop: 'quarantineReservePlan',
			propName: 'quarantineReservePlanLabel',
			span: 8,
			labelPosition: 'top',
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			// control: (e, model) => {
			// 	return {
			// 		quarantineCarNum: {
			// 			display: e == 1,
			// 		},
			// 	}
			// },
		},
		{
			label: '配有隔离转运车辆数',
			prop: 'quarantineCarNum',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '外出就医人员人数',
			prop: 'quarantineOutsidePersonNum',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		//--------------------疫情防控数据-防控类 ----------------
		{
			type: 'DividerHtml',
			labelPosition: 'top',
			position: 'center',
			modelValue: '疫情防控数据-防控类',
			span: 24,
		},
		{
			label: '完成第几轮核酸检测',
			prop: 'controlNucleicTestTimes',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '完成第几轮核酸检测的在院工作人员数',
			prop: 'controlNucleicPersonNum',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '完成核酸检测的入住老人数',
			prop: 'controlNucleicOldmanNum',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '多少在院工作人员有接触史',
			prop: 'controlContactPersonNum',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
		{
			label: '多少在院老人有接触史',
			prop: 'controlContactOldmanNum',
			type: 'input',
			span: 8,
			labelPosition: 'top',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的数量' }],
		},
	],
}

export const DetailConfig = {
	label: '基础信息',
	prop: 'base0',
	inline: false,
	showBtn: false,
	labelPosition: 'top',
	column: [
		{
			prop: 'organizationLogo',
			span: 4,
			custome: 'carousel',
			labelPosition: 'top',
			width: '376px',
			props: ['organizationLogo', 'doorHeadImgs'],
			style: {
				width: '376px',
				height: '300px',
				borderRadius: '20px 0',
				padding: '10px',
			},
			children: [
				{
					type: 'DividerHtml',
					modelValue: '基本信息',
					position: 'center',
					labelPosition: 'top',
					span: 24,
				},
				{
					label: '机构等级评定星级',
					prop: 'organizationLevel',
					propName: 'organizationLevelLabel',
					custome: 'RateXing',
					span: 12,
				},
				{
					label: '评定日期',
					prop: 'organizationEvaluateDate',
					span: 12,
				},
				{
					label: '法定代表人',
					prop: 'legalUserName',
					span: 12,
				},
				{
					label: '法人联系方式',
					prop: 'legalUserPhone',
					span: 12,
				},
				{
					label: '法人身份证号',
					prop: 'legalIdentifyCode',
					span: 12,
				},
				{
					label: '医疗机构性质',
					prop: 'medicalInstituteProperty',
					propName: 'medicalInstitutePropertyLabel',
					type: 'remoteSelect',
					code: 'LEGAL_PROPERTY',
					api: 'getDictItemList',
					filterKey: 'value',
					multiple: false,
					span: 12,
				},
				{
					label: '登记机关',
					prop: 'registerGovernment',
					span: 12,
				},
				{
					label: '评价分',
					prop: 'organizationEvaluateScore',
					custome: 'RateXing',
					showXing: false,
					span: 12,
				},
			],
		},
		{
			label: '所属地区',
			prop: 'areas',
			propName: 'areas_name',
			type: 'AplidAreaSelect',
			labelPosition: 'top',
			changeField: true,
			rules: [{ required: true, message: '请选择所属地区' }],
			span: 8,
		},
		{
			label: '所在地区',
			prop: 'nowAreas',
			propName: 'nowAreasNames',
			type: 'AplidAreaSelect',
			labelPosition: 'top',
			changeField: true,
			rules: [{ required: true, message: '请选择所在地区' }],
			span: 8,
		},
		{
			label: '机构详细地址',
			prop: 'organizationAddress',
			changeField: true,
			maxlength: '140',
			showWordLimit: true,
			type: 'textarea',
			labelPosition: 'top',
			autosize: {
				minRows: 1,
			},
			rules: [{ required: true, message: '请输入机构详细地址' }],
			span: 8,
		},
		{
			label: '统一社会信用代码',
			prop: 'creditCode',
			maxlength: '18',
			changeField: true,
			showWordLimit: true,
			type: 'text',
			labelPosition: 'top',
			rules: [
				{ pattern: regularRule.code, message: '请输入正确的统一社会信用代码' },
				{ required: true, message: '请输入统一社会信用代码' },
			],
			span: 8,
		},

		{
			label: '负责人姓名',
			prop: 'burdenUserName',
			changeField: true,
			maxlength: '20',
			showWordLimit: true,
			type: 'text',
			rules: [{ required: true, message: '请输入负责人姓名' }],
			span: 8,
		},
		{
			label: '负责人身份证号',
			prop: 'burdenIdCard',
			changeField: true,
			type: 'input',
			rules: [
				{ pattern: regularRule.idCard, message: '请输入正确的负责人身份证号' },
				{ required: true, message: '请输入负责人身份证号' },
			],
			span: 8,
		},
		{
			label: '负责人联系方式',
			prop: 'burdenUserPhone',
			changeField: true,
			maxlength: '11',
			showWordLimit: true,
			rules: [
				{ pattern: regularRule.phone, message: '请输入正确的负责人联系方式' },
				{ required: true, message: '请输入负责人联系方式' },
			],
			type: 'tel',
			span: 8,
		},

		{
			label: '单位建立日期',
			prop: 'foundDate',
			changeField: true,
			type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			rules: [{ required: true, message: '请选择单位建立日期' }],
			span: 8,
		},
		{
			label: '备案日期',
			prop: 'filingDate',
			changeField: true,
			type: 'date',
			format: 'YYYY年MM月DD日',
			valueFormat: 'YYYY-MM-DD',
			rules: [{ required: true, message: '请选择备案日期' }],
			span: 8,
		},
		{
			label: '是否备案',
			prop: 'filingFlag',
			propName: 'filingFlagLabel',
			changeField: true,
			code: 'COMMON_FLAG',
			type: 'remoteSelect',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			rules: [{ required: true, message: '请选择是否备案' }],
			span: 8,
		},
		{
			label: '建筑面积',
			prop: 'organizationFloorSpace',
			type: 'input',
			append: '平方米',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的面积数' }],
			span: 8,
		},
		{
			label: '占地面积',
			prop: 'organizationCoverArea',
			type: 'input',
			append: '平方米',
			rules: [{ pattern: /^[0-9]*$/, message: '请输入正确的面积数' }],
			span: 8,
		},
		{
			label: '法人证件类型',
			prop: 'legalIdentifyType',
			propName: 'legalIdentifyTypeLabel',
			type: 'remoteSelect',
			code: 'ID_CARD_TYPE',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			changeField: true,
			dataType: 'string',
			rules: [{ required: true, message: '请选择法人证件类型' }],
			span: 8,
		},

		{
			label: '法人性质',
			prop: 'legalProperty',
			propName: 'legalPropertyLabel',
			type: 'remoteSelect',
			code: 'LEGAL_PROPERTY',
			api: 'getDictItemList',
			filterKey: 'value',
			multiple: false,
			changeField: true,
			rules: [{ required: true, message: '请选择法人性质' }],
			span: 8,
		},
		{
			label: '服务范围',
			prop: 'organizationServiceScope',
			maxlength: '500',
			showWordLimit: true,
			type: 'textarea',
			labelPosition: 'top',
			autosize: {
				minRows: 2,
			},
			rules: [{ required: true, message: '请输入服务范围' }],
			span: 24,
		},
		{
			label: '介绍',
			prop: 'organizationIntroduce',
			maxlength: '1000',
			showWordLimit: true,
			type: 'textarea',
			labelPosition: 'top',
			autosize: {
				minRows: 2,
			},
			rules: [{ required: true, message: '请输入介绍' }],
			span: 24,
		},
		{
			label: '备注',
			prop: 'organizationNote',
			maxlength: '1000',
			showWordLimit: true,
			type: 'textarea',
			labelPosition: 'top',
			autosize: {
				minRows: 2,
			},
			span: 24,
		},
	],
}
